package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.CnasSortName;
import com.zhijian.medical.entity.vo.request.CnasSortNameSearchVo;
import com.zhijian.medical.entity.vo.response.CnasSortNameVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CnasSortNameMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CnasSortName record);

    int insertSelective(CnasSortName record);

    CnasSortName selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CnasSortName record);

    int updateByPrimaryKey(CnasSortName record);

    int count(CnasSortNameSearchVo cnasSortNameSearchVo);

    List<CnasSortNameVo> selectList(CnasSortNameSearchVo cnasSortNameSearchVo);

    CnasSortNameVo selectVoById(Long id);

    int insertBatch(@Param("entities") List<CnasSortName> entities);
}